package com.moon.icoresso.Exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName OauthException
 * @Description
 * @Author menbbo
 * @Date 2021/2/12 17:11
 * @Version V1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OauthException extends RuntimeException {
    private String message;
    private int code = 500;
    public OauthException(String message){
        this.message = message;
    }
}